package com.x.erp.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.x.erp.model.CarAge;
import com.x.framework.dao.BaseDao;

/**
 * 车龄信息DAO
 */
@Repository
public class CarAgeDao extends BaseDao {

	private final static String selectAgeListSql = "SELECT bca.* FROM BASE_CAR_AGE bca WHERE true ";
	/**
	 * 查询预订列表
	 * @param carAge
	 * @return
	 * @throws Exception
	 */
	public List<CarAge> selectCarAgeList(CarAge carAge) throws Exception{
		return this.queryForList(selectAgeListSql, CarAge.class);
	}

}
